(global.webpackJsonp = global.webpackJsonp || []).push([
  ["pages/web/web"], {
    "1d12": function (e, n, o) {
      var t = o("7ed6");
      o.n(t).a
    },
    3949: function (e, n, o) {
      o.r(n);
      var t = o("73f7"),
        r = o.n(t);
      for (var i in t) "default" !== i && function (e) {
        o.d(n, e, function () {
          return t[e]
        })
      }(i);
      n.default = r.a
    },
    "73f7": function (e, n, o) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.default = void 0;
      var t = {
        name: "web",
        data: function () {
          return {
            url: "",
            webviewStyles: {
              progress: {
                width: "100%",
                height: "100%"
              }
            }
          }
        },
        onLoad: function (e) {
          this.getUrl(unescape(e.url))
        },
        methods: {
          getUrl: function (e) {
            var n = (e = decodeURIComponent(e)).split("?"),
              o = n[0],
              t = n[1] ? n[1].split("&") : "";
            if (t) {
              if (e = o, this.$user.isLogin())
                for (var r in t) {
                  if ("visiter_id=" == t[r]) {
                    var i = this.$store.state.user.accessToken;
                    t[r] += i || ""
                  }
                  var a = this.$store.state.user.info;
                  "visiter_name=" == t[r] && (t[r] += encodeURIComponent(a ? a.nickname : "游客")), "avatar=" == t[r] && (t[r] += encodeURIComponent(a ? a.avatar : ""))
                }
              var u = getCurrentPages();
              if (u.length > 1) {
                var c = u[u.length - 2];
                if (c.data.goods) {
                  var s = "",
                    l = "";
                  l = {
                    pid: (s = c.data.goods).id,
                    title: s.name,
                    img: s.cover_pic,
                    info: "",
                    price: "￥" + s.price,
                    url: ""
                  }, "plugins/integral_mall/goods/goods" == c.route && (l.price = "", void 0 !== s.integral && (l.price += s.integral + "积分 + "), l.price += "￥" + s.price), "plugins/step/goods/goods" == c.route && (l.price = s.price), l && t.push("product=" + encodeURIComponent(JSON.stringify(l)))
                }
              }
              e = o + "?" + t.join("&")
            }
            this.url = e
          },
          load: function (e) {
            console.log("load"), console.log(e)
          },
          error: function (e) {
            console.log("error"), console.log(e)
          }
        }
      };
      n.default = t
    },
    "7ed6": function (e, n, o) {},
    a8a7: function (e, n, o) {
      var t = function () {
          var e = this;
          e.$createElement;
          e._self._c
        },
        r = [];
      o.d(n, "a", function () {
        return t
      }), o.d(n, "b", function () {
        return r
      })
    },
    d5d4: function (e, n, o) {
      o.r(n);
      var t = o("a8a7"),
        r = o("3949");
      for (var i in r) "default" !== i && function (e) {
        o.d(n, e, function () {
          return r[e]
        })
      }(i);
      o("1d12");
      var a = o("2877"),
        u = Object(a.a)(r.default, t.a, t.b, !1, null, "4f1a0024", null);
      n.default = u.exports
    }
  },
  [
    ["4dbd", "common/runtime", "common/vendor"]
  ]
]);